package com.bbzn.device.client.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bbzn.device.client.dataobject.FaceDb;
import com.bbzn.device.client.dao.face.FaceDbMapper;
import com.bbzn.device.client.service.FaceDbService;
@Service
public class FaceDbServiceImpl implements FaceDbService{

    @Resource
    private FaceDbMapper faceDbMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return faceDbMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FaceDb record) {
        return faceDbMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(FaceDb record) {
        return faceDbMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(FaceDb record) {
        return faceDbMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(FaceDb record) {
        return faceDbMapper.insertSelective(record);
    }

    @Override
    public FaceDb selectByPrimaryKey(Long id) {
        return faceDbMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FaceDb record) {
        return faceDbMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FaceDb record) {
        return faceDbMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<FaceDb> findByAll(FaceDb faceDb) {
        return faceDbMapper.findByAll(faceDb);
    }

    @Override
    public int updateBatch(List<FaceDb> list) {
        return faceDbMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<FaceDb> list) {
        return faceDbMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<FaceDb> list) {
        return faceDbMapper.batchInsert(list);
    }

}
